//
//  BFShShopCarDataController.h
//  BeautyFood
//
//  Created by imac on 2020/4/26.
//  Copyright © 2020 stoneobs. All rights reserved.
//

#import "STTools_DataController.h"

NS_ASSUME_NONNULL_BEGIN

@interface BFShShopCarDataController : STTools_DataController
//购物车数量
+ (void)stoneobs_fun_get_shopcar_count:(void(^)(NSInteger count))handle;
+ (void)stoneobs_fun_update_shopcarcount_ifNeed;

//添加购物扯 spec_id 可以为空
+ (void)stoneobs_fun_add_toshopcar_with_goods_id:(NSString*)goods_id num:(NSString*)num spec_id:(NSString*)spec_id handle:(STTools_DataController_stoneobs_handle)handle;

//编辑购物车
+ (void)stoneobs_fun_change_shopcar_with_c_id:(NSString*)c_id num:(NSString*)num  handle:(STTools_DataController_stoneobs_handle)handle;

//删除购物车
+ (void)stoneobs_fun_delete_shopcar_with_c_ids:(NSString*)c_ids handle:(STTools_DataController_stoneobs_handle)handle;
@end

NS_ASSUME_NONNULL_END
